using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMBlockBusiness
    {
        public static clsTMBlockController cls = new clsTMBlockController();
        #region[Get-Data]
        public DataTable BindGirdTMBlock()
        {
            return cls.BindGirdTMBlock();
        }
        public DataTable BindGirdTMBlock_Detail_Edit(int id)
        {
            return cls.BindGirdTMBlock_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMBlock(clsTMBlockProperty obj)
        {
            return cls.InsertTMBlock(obj);
        }
        public static bool UpdateTMBlock(clsTMBlockProperty obj)
        {
            return cls.UpdateTMBlock(obj);
        }
        public static bool DeleteTMBlock(int id)
        {
            return cls.DeleteTMBlock(id);
        }
        public bool TMBlock_Check_Delete_TMDepartment(int id)
        {
            return cls.TMBlock_Check_Delete_TMDepartment(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}